import { connect } from 'react-redux'
import List from '../components/List'

import { insert } from '../lsRedux/actions'

// 这是容器组件
const WithList = connect((state) => ({ list: state.ls.list }), {
  insert,
})(List)
export default WithList
